#!/usr/bin/python3
# -*- coding: utf-8 -*-

import yaml, os
BASE_DIR = os.path.abspath(os.path.dirname((os.path.dirname(__file__))))
config_path = os.path.join(BASE_DIR, 'config/website.yaml')

def get_config(path):
    with open(path) as f:
        config = yaml.safe_load(f)
    return config

config = get_config(config_path)